/**
 * 
 */
package json_objects_received;

import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @author Alejandro Casas
 *
 */
@XmlRootElement
public class JaxBranch {

	@XmlElement private String name;
	@XmlElement private String city;
	@XmlElement private String country;
	@XmlElement private String address;
	@XmlElement private double lat;
	@XmlElement private double lng;
	@XmlElement private String openingHours;
	@XmlElement private String mail;
	@XmlElement private String phone;
	@XmlElement private List<JaxSport> sports;
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the city
	 */
	public String getCity() {
		return city;
	}
	/**
	 * @param city the city to set
	 */
	public void setCity(String city) {
		this.city = city;
	}
	/**
	 * @return the country
	 */
	public String getCountry() {
		return country;
	}
	/**
	 * @param country the country to set
	 */
	public void setCountry(String country) {
		this.country = country;
	}
	/**
	 * @return the address
	 */
	public String getAddress() {
		return address;
	}
	/**
	 * @param address the address to set
	 */
	public void setAddress(String address) {
		this.address = address;
	}
	/**
	 * @return the lat
	 */
	public double getLat() {
		return lat;
	}
	/**
	 * @param lat the lat to set
	 */
	public void setLat(double lat) {
		this.lat = lat;
	}
	/**
	 * @return the lng
	 */
	public double getLng() {
		return lng;
	}
	/**
	 * @param lng the lng to set
	 */
	public void setLng(double lng) {
		this.lng = lng;
	}
	/**
	 * @return the openingHours
	 */
	public String getOpeningHours() {
		return openingHours;
	}
	/**
	 * @param openingHours the openingHours to set
	 */
	public void setOpeningHours(String openingHours) {
		this.openingHours = openingHours;
	}
	/**
	 * @return the mail
	 */
	public String getMail() {
		return mail;
	}
	/**
	 * @param mail the mail to set
	 */
	public void setMail(String mail) {
		this.mail = mail;
	}
	/**
	 * @return the phone
	 */
	public String getPhone() {
		return phone;
	}
	/**
	 * @param phone the phone to set
	 */
	public void setPhone(String phone) {
		this.phone = phone;
	}
	/**
	 * @return the sports
	 */
	public List<JaxSport> getSports() {
		return sports;
	}
	/**
	 * @param sports the sports to set
	 */
	public void setSports(List<JaxSport> sports) {
		this.sports = sports;
	}
	/**
	 * @param name
	 * @param city
	 * @param country
	 * @param address
	 * @param lat
	 * @param lng
	 * @param openingHours
	 * @param mail
	 * @param phone
	 * @param sports
	 */
	public JaxBranch(String name, String city, String country, String address,
			double lat, double lng, String openingHours, String mail,
			String phone, List<JaxSport> sports) {
		this.name = name;
		this.city = city;
		this.country = country;
		this.address = address;
		this.lat = lat;
		this.lng = lng;
		this.openingHours = openingHours;
		this.mail = mail;
		this.phone = phone;
		this.sports = sports;
	}
	/**
	 * 
	 */
	public JaxBranch() {
		super();
		// TODO Auto-generated constructor stub
	}
	
}
